<!-- 分润统计 -->
<?php $this->load->view('home/layout/header') ?>
<form id="profit-form" data-scenic="ajaxTourism"  method="get">
    <input type="hidden" name="page" value="<?php echo  isset($pg_now) ? $pg_now : '1';?>">
    <input type="hidden" name="status" value="ALL">
    <input type="hidden" name="payer_uid" value="<?php echo isset($payer_uid) ? $payer_uid : '';?>">
    <input type="hidden" name="ajax_url" class="data_ajax_url" value="ajaxTourism/" disabled="disabled">
    <div class="fenrun widthMax">
        <header class="fenrui-head am-cf">
            <div class="return am-fl">
                <a href="javascript:goHistoryBack('<?php echo site_url('home/ucenter/index');?>');"><i class="iconfont icon-zuojiantou"></i></a>
            </div>
            <div class="title am-fl">
                <?php if (!empty($payer_uid)): ?>
                    <!-- 下级会员详情 -->
                    <div class="details"><?php echo isset($user_name) ? $user_name : '';?></div>
                <?php else:?>
                    <div class="title-tab flex">
                        <a class="flex-1" href="<?php echo site_url('home/memberprofit/juniorMember');?>">下级会员</a>
                        <a class="flex-1 active" href="<?php echo site_url('home/memberprofit/grid');?>">分润统计</a>
                    </div>
                <?php endif ?>
            </div>
            <div class="more am-fl">
                <i class="iconfont icon-guolv"></i>
            </div>
        </header>
        <div class="fenrun-list">

        </div>
        <?php //$this->load->view('home/memberprofit/ajaxScenic'); ?>
    </div>
    <div class="fenrun-time">
        <div class="head am-cf">
            <i class="iconfont am-fl icon-zuojiantou"></i>
            <div class="head-title am-fl">选择时间</div>
        </div>
        <!--<p class="yqtime">邀请时间</p>-->
        <div class="choose-date">
            <div class="starttime am-cf">
                <span>开始时间</span>
                <input type="text" name="startTime" class="startTime am-form-field" value="<?php echo date('Y-m-d', strtotime('-1 month')); ?>" data-am-datepicker="{theme: 'success'}" readonly/>
                <!-- <i class="iconfont">&#xe614;</i> -->
            </div>
            <div class="endtime am-cf">
                <span>结束时间</span>
                <input type="text" name="endTime" class="endTime am-form-field" value="<?php echo date('Y-m-d'); ?>" data-am-datepicker="{theme: 'success'}" readonly/>
               <!--  <i class="iconfont">&#xe614;</i> -->
            </div>
        </div>
        <div class="timerange">
            <p>最近</p>
            <ul class="am-cf">
                <li><a class="active" href="javascript:" data-month='1'>1个月</a></li>
                <li><a href="javascript:" data-month='3'>3个月</a></li>
                <li><a href="javascript:" data-month='6'>6个月</a></li>
            </ul>
        </div>
        <div class="state">
            <p>到账状态</p>
            <div class="state-choose">
                <label class="active">
                    <div class="choose"><i class="iconfont">&#xe671;</i></div>
                    <span value="ALL">不限</span>
                </label>
                <label>
                    <div class="choose"><i class="iconfont">&#xe671;</i></div>
                    <span value="ACCOUNT">已到账</span>
                </label>
                <label>
                    <div class="choose"><i class="iconfont">&#xe671;</i></div>
                    <span value="NOT_ACCOUNT">未到账</span>
                </label>
            </div>
        </div>
    </div>
</form>
<div class="retunTop"><img src="/skins/home/images/returnTop.png"></div>
<?php $this->load->view('home/layout/footer'); ?>
